﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Hotel.Models.Entity
{
    public class Floor
    {
        private int _pkFloorID;
        private string _name;
        public int Id { get; set; }
        public Floor()
        {
            _pkFloorID = 0;
            _name = string.Empty;
        }
        public Floor(int id, string name)
        {
            _pkFloorID = id;
            _name = name;
        }
        public int PkFloorId
        {
            get { return _pkFloorID; }
            set { _pkFloorID = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
    }
}